package pl.edu.agh.se.carsexpertsystem.fact;


public class RepresentativenessFact implements Fact {
	private int carRepresenativenessOnScaleOfZeroToOneBillion = 500_000_000; // JAVA 7 POWER!!!!!!!!!!!!!!!

	public int getCarRepresenativenessOnScaleOfZeroToOneBillion() {
		return carRepresenativenessOnScaleOfZeroToOneBillion;
	}

	public void setCarRepresenativenessOnScaleOfZeroToOneBillion(
			int carRepresenativenessOnScaleOfZeroToOneBillion) {
		if (carRepresenativenessOnScaleOfZeroToOneBillion < 0 || carRepresenativenessOnScaleOfZeroToOneBillion > 1_000_000_000) {
			throw new IllegalArgumentException("zero to nine zeros, dude");
		}
		this.carRepresenativenessOnScaleOfZeroToOneBillion = carRepresenativenessOnScaleOfZeroToOneBillion;
	}
}
